//
// Created by Tiany on 2021/6/21.
//顺序结构型字符串测试文件

#include "SeqString.h"

static void SeqStringTest(void) {
    char s[] = "hkfsgsgsg";
    int length = getLength(s);
    PSeqString pSeqString = createNullStr_seq(length * 2);
    writeStr_seq(pSeqString, s, length);/*字符串写入顺序表*/
    readString_seq(pSeqString);
    readString_seq(subStr_seq(pSeqString, 1, 4));/*读取四个长度的子字符串*/

}

